$OpenBSD: patch-src_lib_ipc_IpcClientProxy_cpp,v 1.3 2015/03/23 18:11:19 landry Exp $

On loongson/sparc64/hppa:
Same as CIpcServerProxy.cpp

--- src/lib/ipc/IpcClientProxy.cpp.orig	Mon Dec 22 16:14:25 2014
+++ src/lib/ipc/IpcClientProxy.cpp	Mon Dec 22 16:15:48 2014
@@ -147,7 +147,11 @@ IpcClientProxy::send(const IpcMessage& message)
 	case kIpcLogLine: {
 		const IpcLogLineMessage& llm = static_cast<const IpcLogLineMessage&>(message);
 		String logLine = llm.logLine();
+#if defined(__mips64__) || defined(__sparc64__) || defined(__hppa__)
+		ProtocolUtil::writef(static_cast<void*>(&m_stream), static_cast<const char*>(kIpcMsgLogLine), &logLine);
+#else
 		ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
+#endif
 		break;
 	}
 			
